//
//  MYXSettingCell.h
//  meiyinxiang
//
//  Created by 陈李飞 on 2017/10/28.
//  Copyright © 2017年 hbjApple. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface MYXSettingCell : UITableViewCell
+ (instancetype)cellWithTableView:(UITableView *)tableView;


- (void)setSettingName:(NSString *)settingName detailText:(NSString *)detailText infoText:(NSString *)infoText indicator:(BOOL)indicator switchButton:(BOOL)switchButton topHeight:(CGFloat)topHeight switchChanged:(void (^)(BOOL on))switchChanged;


- (void)changeSwitchState:(BOOL)selected;

+ (CGFloat)cellHeightWithDetailText:(NSString *)detailText topHeight:(CGFloat)topHeight;
@end
